package com.cxhc.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 程序注解配置
 *
 * @author dhq
 */
@Component
@ConfigurationProperties(prefix = "wechat.miniprogram")
public class WechatMiniProgramConfig {
    private static String appid;

    private static String appsecret;

    public String getAppid() {
        return appid;

    }

    public void setAppid(String appid) {
        WechatMiniProgramConfig.appid = appid;
    }


    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        WechatMiniProgramConfig.appsecret = appsecret;
    }
}
